package com.yn.xgame.message;

import com.yn.xgame.Callback;

/**
 * 无参数调用消息
 * Created by wangboo on 2017/7/11.
 */
public class Func0Message implements IFuncMessage {

    private Callback callback;

    public Func0Message(Callback callback) {
        this.callback = callback;
    }

    @Override
    public void apply() {
        callback.call();
    }
}
